<?php
namespace app\admin\validate;


use think\Validate;

class Role extends Validate
{
    protected $rule = [
        'role_name' => ['require'],
    ];

    protected $message = [
        'role_name.require' => '角色名不能为空!'
    ];

}